package com.xuzao.developer.base.criteria;

import java.util.ArrayList;
import java.util.List;


/**
 * @description 
 * @author xuzao
 * @date 2019-09-03 17:12:36
 **/
public class GridTableCriteria {

	protected String orderByClause;

	protected boolean distinct;

	protected List<Criteria> oredCriteria;

	private int limitStart = -1;

	private int limitEnd = -1;

	public GridTableCriteria() {
	oredCriteria = new ArrayList<Criteria>();
	}

	public void setOrderByClause(String orderByClause) {
		this.orderByClause = orderByClause;
	}
	public String getOrderByClause() {
		return orderByClause;
	}

	public void setDistinct ( boolean distinct){
		this.distinct = distinct;
 	}
	public boolean isDistinct () {
		return distinct;
	}

	public List<Criteria> getOredCriteria () {
		return oredCriteria;
	}

	public void or (Criteria criteria){
		oredCriteria.add(criteria);
	}

	public Criteria or () {
		Criteria criteria = createCriteriaInternal();
		oredCriteria.add(criteria);
		return criteria;
	}

	public Criteria createCriteria () {
		Criteria criteria = createCriteriaInternal();
		if (oredCriteria.size() == 0) {
		oredCriteria.add(criteria);
	}
		return criteria;
	}

	protected Criteria createCriteriaInternal () {
		Criteria criteria = new Criteria();
		return criteria;
	}
	public void clear () {
		oredCriteria.clear();
		orderByClause = null;
		distinct = false;
	}

	public void setLimitStart ( int limitStart){
		this.limitStart = limitStart;
	}

	public int getLimitStart () {
		return limitStart;
	}

	public void setLimitEnd (int limitEnd){
		this.limitEnd = limitEnd;
	}

	public int getLimitEnd () {
		return limitEnd;
	}

	protected abstract static class GeneratedCriteria {
		protected List<Criterion> criteria;
		protected GeneratedCriteria() {
		super();
		criteria = new ArrayList<Criterion>();
	}

	public boolean isValid() {
		return criteria.size() > 0;
	}

	public List<Criterion> getAllCriteria() {
		return criteria;
	}

	public List<Criterion> getCriteria() {
		return criteria;
	}
	protected void addCriterion(String condition) {
		if (condition == null) {
			throw new RuntimeException("Value for condition cannot be null");
	}
		criteria.add(new Criterion(condition));
	}
	protected void addCriterion (String condition, Object value, String property){
		if (value == null) {
			throw new RuntimeException("Value for " + property + " cannot be null");
	}
		criteria.add(new Criterion(condition, value));
	}

	protected void addCriterion (String condition, Object value1, Object value2, String property){
		if (value1 == null || value2 == null) {
			throw new RuntimeException("Between values for " + property + " cannot be null");
	}

		criteria.add(new Criterion(condition, value1, value2));
	}

	public Criteria andIdIsNull () {
		addCriterion("id is null");
		return (Criteria) this;
	}

	public Criteria andIdIsNotNull () {
		addCriterion("id is not null");
		return (Criteria) this;
	}

	public Criteria andIdEqualTo (java.lang.Long value){
		addCriterion("id =", value, "id");
		return (Criteria) this;
	}

	public Criteria andIdNotEqualTo (java.lang.Long value){
		addCriterion("id <>", value, "id");
		return (Criteria) this;
	}

	public Criteria andIdGreaterThan (java.lang.Long value){
		addCriterion("id >", value, "id");
		return (Criteria) this;
	}

	public Criteria andIdGreaterThanOrEqualTo (java.lang.Long value){
		addCriterion("id >=", value, "id");
		return (Criteria) this;
	}

	public Criteria andIdLessThan (java.lang.Long value){
		addCriterion("id <", value, "id");
		return (Criteria) this;
	}

	public Criteria andIdLessThanOrEqualTo (java.lang.Long value){
		addCriterion("id <=", value, "id");
		return (Criteria) this;
	}

	public Criteria andIdIn (List < java.lang.Long > values) {

		addCriterion("id in", values, "id");
		return (Criteria) this;
	}

	public Criteria andIdNotIn (List < java.lang.Long > values) {
		addCriterion("id not in", values, "id");
		return (Criteria) this;
	}

	public Criteria andIdBetween (java.lang.Long value1, java.lang.Long value2){
		addCriterion("id between", value1, value2, "id");
		return (Criteria) this;
	}

	public Criteria andIdNotBetween (java.lang.Long value1, java.lang.Long value2){
		addCriterion("id not between", value1, value2, "id");
		return (Criteria) this;
	}

	public Criteria andGridNameIsNull () {
		addCriterion("grid_name is null");
		return (Criteria) this;
	}

	public Criteria andGridNameIsNotNull () {
		addCriterion("grid_name is not null");
		return (Criteria) this;
	}

	public Criteria andGridNameEqualTo (java.lang.String value){
		addCriterion("grid_name =", value, "grid_name");
		return (Criteria) this;
	}

	public Criteria andGridNameNotEqualTo (java.lang.String value){
		addCriterion("grid_name <>", value, "grid_name");
		return (Criteria) this;
	}

	public Criteria andGridNameGreaterThan (java.lang.String value){
		addCriterion("grid_name >", value, "grid_name");
		return (Criteria) this;
	}

	public Criteria andGridNameGreaterThanOrEqualTo (java.lang.String value){
		addCriterion("grid_name >=", value, "grid_name");
		return (Criteria) this;
	}

	public Criteria andGridNameLessThan (java.lang.String value){
		addCriterion("grid_name <", value, "grid_name");
		return (Criteria) this;
	}

	public Criteria andGridNameLessThanOrEqualTo (java.lang.String value){
		addCriterion("grid_name <=", value, "grid_name");
		return (Criteria) this;
	}

	public Criteria andGridNameIn (List < java.lang.String > values) {

		addCriterion("grid_name in", values, "grid_name");
		return (Criteria) this;
	}

	public Criteria andGridNameNotIn (List < java.lang.String > values) {
		addCriterion("id not in", values, "grid_name");
		return (Criteria) this;
	}

	public Criteria andGridNameBetween (java.lang.String value1, java.lang.String value2){
		addCriterion("grid_name between", value1, value2, "grid_name");
		return (Criteria) this;
	}

	public Criteria andGridNameNotBetween (java.lang.String value1, java.lang.String value2){
		addCriterion("grid_name not between", value1, value2, "grid_name");
		return (Criteria) this;
	}

	public Criteria andGridNameLike(java.lang.String value) {
		addCriterion("grid_name like", value, "grid_name");
		return (Criteria) this;
	}

	public Criteria andGridNameNotLike(java.lang.String value) {
		addCriterion("grid_name not like", value, "grid_name");
		return (Criteria) this;
	}
	public Criteria andPartyIdIsNull () {
		addCriterion("party_id is null");
		return (Criteria) this;
	}

	public Criteria andPartyIdIsNotNull () {
		addCriterion("party_id is not null");
		return (Criteria) this;
	}

	public Criteria andPartyIdEqualTo (java.lang.String value){
		addCriterion("party_id =", value, "party_id");
		return (Criteria) this;
	}

	public Criteria andPartyIdNotEqualTo (java.lang.String value){
		addCriterion("party_id <>", value, "party_id");
		return (Criteria) this;
	}

	public Criteria andPartyIdGreaterThan (java.lang.String value){
		addCriterion("party_id >", value, "party_id");
		return (Criteria) this;
	}

	public Criteria andPartyIdGreaterThanOrEqualTo (java.lang.String value){
		addCriterion("party_id >=", value, "party_id");
		return (Criteria) this;
	}

	public Criteria andPartyIdLessThan (java.lang.String value){
		addCriterion("party_id <", value, "party_id");
		return (Criteria) this;
	}

	public Criteria andPartyIdLessThanOrEqualTo (java.lang.String value){
		addCriterion("party_id <=", value, "party_id");
		return (Criteria) this;
	}

	public Criteria andPartyIdIn (List < java.lang.String > values) {

		addCriterion("party_id in", values, "party_id");
		return (Criteria) this;
	}

	public Criteria andPartyIdNotIn (List < java.lang.String > values) {
		addCriterion("id not in", values, "party_id");
		return (Criteria) this;
	}

	public Criteria andPartyIdBetween (java.lang.String value1, java.lang.String value2){
		addCriterion("party_id between", value1, value2, "party_id");
		return (Criteria) this;
	}

	public Criteria andPartyIdNotBetween (java.lang.String value1, java.lang.String value2){
		addCriterion("party_id not between", value1, value2, "party_id");
		return (Criteria) this;
	}

	public Criteria andPartyIdLike(java.lang.String value) {
		addCriterion("party_id like", value, "party_id");
		return (Criteria) this;
	}

	public Criteria andPartyIdNotLike(java.lang.String value) {
		addCriterion("party_id not like", value, "party_id");
		return (Criteria) this;
	}
	public Criteria andWarehouseIdIsNull () {
		addCriterion("warehouse_id is null");
		return (Criteria) this;
	}

	public Criteria andWarehouseIdIsNotNull () {
		addCriterion("warehouse_id is not null");
		return (Criteria) this;
	}

	public Criteria andWarehouseIdEqualTo (java.lang.String value){
		addCriterion("warehouse_id =", value, "warehouse_id");
		return (Criteria) this;
	}

	public Criteria andWarehouseIdNotEqualTo (java.lang.String value){
		addCriterion("warehouse_id <>", value, "warehouse_id");
		return (Criteria) this;
	}

	public Criteria andWarehouseIdGreaterThan (java.lang.String value){
		addCriterion("warehouse_id >", value, "warehouse_id");
		return (Criteria) this;
	}

	public Criteria andWarehouseIdGreaterThanOrEqualTo (java.lang.String value){
		addCriterion("warehouse_id >=", value, "warehouse_id");
		return (Criteria) this;
	}

	public Criteria andWarehouseIdLessThan (java.lang.String value){
		addCriterion("warehouse_id <", value, "warehouse_id");
		return (Criteria) this;
	}

	public Criteria andWarehouseIdLessThanOrEqualTo (java.lang.String value){
		addCriterion("warehouse_id <=", value, "warehouse_id");
		return (Criteria) this;
	}

	public Criteria andWarehouseIdIn (List < java.lang.String > values) {

		addCriterion("warehouse_id in", values, "warehouse_id");
		return (Criteria) this;
	}

	public Criteria andWarehouseIdNotIn (List < java.lang.String > values) {
		addCriterion("id not in", values, "warehouse_id");
		return (Criteria) this;
	}

	public Criteria andWarehouseIdBetween (java.lang.String value1, java.lang.String value2){
		addCriterion("warehouse_id between", value1, value2, "warehouse_id");
		return (Criteria) this;
	}

	public Criteria andWarehouseIdNotBetween (java.lang.String value1, java.lang.String value2){
		addCriterion("warehouse_id not between", value1, value2, "warehouse_id");
		return (Criteria) this;
	}

	public Criteria andWarehouseIdLike(java.lang.String value) {
		addCriterion("warehouse_id like", value, "warehouse_id");
		return (Criteria) this;
	}

	public Criteria andWarehouseIdNotLike(java.lang.String value) {
		addCriterion("warehouse_id not like", value, "warehouse_id");
		return (Criteria) this;
	}
	public Criteria andOperatorIdIsNull () {
		addCriterion("operator_id is null");
		return (Criteria) this;
	}

	public Criteria andOperatorIdIsNotNull () {
		addCriterion("operator_id is not null");
		return (Criteria) this;
	}

	public Criteria andOperatorIdEqualTo (java.lang.String value){
		addCriterion("operator_id =", value, "operator_id");
		return (Criteria) this;
	}

	public Criteria andOperatorIdNotEqualTo (java.lang.String value){
		addCriterion("operator_id <>", value, "operator_id");
		return (Criteria) this;
	}

	public Criteria andOperatorIdGreaterThan (java.lang.String value){
		addCriterion("operator_id >", value, "operator_id");
		return (Criteria) this;
	}

	public Criteria andOperatorIdGreaterThanOrEqualTo (java.lang.String value){
		addCriterion("operator_id >=", value, "operator_id");
		return (Criteria) this;
	}

	public Criteria andOperatorIdLessThan (java.lang.String value){
		addCriterion("operator_id <", value, "operator_id");
		return (Criteria) this;
	}

	public Criteria andOperatorIdLessThanOrEqualTo (java.lang.String value){
		addCriterion("operator_id <=", value, "operator_id");
		return (Criteria) this;
	}

	public Criteria andOperatorIdIn (List < java.lang.String > values) {

		addCriterion("operator_id in", values, "operator_id");
		return (Criteria) this;
	}

	public Criteria andOperatorIdNotIn (List < java.lang.String > values) {
		addCriterion("id not in", values, "operator_id");
		return (Criteria) this;
	}

	public Criteria andOperatorIdBetween (java.lang.String value1, java.lang.String value2){
		addCriterion("operator_id between", value1, value2, "operator_id");
		return (Criteria) this;
	}

	public Criteria andOperatorIdNotBetween (java.lang.String value1, java.lang.String value2){
		addCriterion("operator_id not between", value1, value2, "operator_id");
		return (Criteria) this;
	}

	public Criteria andOperatorIdLike(java.lang.String value) {
		addCriterion("operator_id like", value, "operator_id");
		return (Criteria) this;
	}

	public Criteria andOperatorIdNotLike(java.lang.String value) {
		addCriterion("operator_id not like", value, "operator_id");
		return (Criteria) this;
	}
	public Criteria andCreaterNameIsNull () {
		addCriterion("creater_name is null");
		return (Criteria) this;
	}

	public Criteria andCreaterNameIsNotNull () {
		addCriterion("creater_name is not null");
		return (Criteria) this;
	}

	public Criteria andCreaterNameEqualTo (java.lang.String value){
		addCriterion("creater_name =", value, "creater_name");
		return (Criteria) this;
	}

	public Criteria andCreaterNameNotEqualTo (java.lang.String value){
		addCriterion("creater_name <>", value, "creater_name");
		return (Criteria) this;
	}

	public Criteria andCreaterNameGreaterThan (java.lang.String value){
		addCriterion("creater_name >", value, "creater_name");
		return (Criteria) this;
	}

	public Criteria andCreaterNameGreaterThanOrEqualTo (java.lang.String value){
		addCriterion("creater_name >=", value, "creater_name");
		return (Criteria) this;
	}

	public Criteria andCreaterNameLessThan (java.lang.String value){
		addCriterion("creater_name <", value, "creater_name");
		return (Criteria) this;
	}

	public Criteria andCreaterNameLessThanOrEqualTo (java.lang.String value){
		addCriterion("creater_name <=", value, "creater_name");
		return (Criteria) this;
	}

	public Criteria andCreaterNameIn (List < java.lang.String > values) {

		addCriterion("creater_name in", values, "creater_name");
		return (Criteria) this;
	}

	public Criteria andCreaterNameNotIn (List < java.lang.String > values) {
		addCriterion("id not in", values, "creater_name");
		return (Criteria) this;
	}

	public Criteria andCreaterNameBetween (java.lang.String value1, java.lang.String value2){
		addCriterion("creater_name between", value1, value2, "creater_name");
		return (Criteria) this;
	}

	public Criteria andCreaterNameNotBetween (java.lang.String value1, java.lang.String value2){
		addCriterion("creater_name not between", value1, value2, "creater_name");
		return (Criteria) this;
	}

	public Criteria andCreaterNameLike(java.lang.String value) {
		addCriterion("creater_name like", value, "creater_name");
		return (Criteria) this;
	}

	public Criteria andCreaterNameNotLike(java.lang.String value) {
		addCriterion("creater_name not like", value, "creater_name");
		return (Criteria) this;
	}
	public Criteria andModiferNameIsNull () {
		addCriterion("modifer_name is null");
		return (Criteria) this;
	}

	public Criteria andModiferNameIsNotNull () {
		addCriterion("modifer_name is not null");
		return (Criteria) this;
	}

	public Criteria andModiferNameEqualTo (java.lang.String value){
		addCriterion("modifer_name =", value, "modifer_name");
		return (Criteria) this;
	}

	public Criteria andModiferNameNotEqualTo (java.lang.String value){
		addCriterion("modifer_name <>", value, "modifer_name");
		return (Criteria) this;
	}

	public Criteria andModiferNameGreaterThan (java.lang.String value){
		addCriterion("modifer_name >", value, "modifer_name");
		return (Criteria) this;
	}

	public Criteria andModiferNameGreaterThanOrEqualTo (java.lang.String value){
		addCriterion("modifer_name >=", value, "modifer_name");
		return (Criteria) this;
	}

	public Criteria andModiferNameLessThan (java.lang.String value){
		addCriterion("modifer_name <", value, "modifer_name");
		return (Criteria) this;
	}

	public Criteria andModiferNameLessThanOrEqualTo (java.lang.String value){
		addCriterion("modifer_name <=", value, "modifer_name");
		return (Criteria) this;
	}

	public Criteria andModiferNameIn (List < java.lang.String > values) {

		addCriterion("modifer_name in", values, "modifer_name");
		return (Criteria) this;
	}

	public Criteria andModiferNameNotIn (List < java.lang.String > values) {
		addCriterion("id not in", values, "modifer_name");
		return (Criteria) this;
	}

	public Criteria andModiferNameBetween (java.lang.String value1, java.lang.String value2){
		addCriterion("modifer_name between", value1, value2, "modifer_name");
		return (Criteria) this;
	}

	public Criteria andModiferNameNotBetween (java.lang.String value1, java.lang.String value2){
		addCriterion("modifer_name not between", value1, value2, "modifer_name");
		return (Criteria) this;
	}

	public Criteria andModiferNameLike(java.lang.String value) {
		addCriterion("modifer_name like", value, "modifer_name");
		return (Criteria) this;
	}

	public Criteria andModiferNameNotLike(java.lang.String value) {
		addCriterion("modifer_name not like", value, "modifer_name");
		return (Criteria) this;
	}
	public Criteria andUpdateVersionIsNull () {
		addCriterion("update_version is null");
		return (Criteria) this;
	}

	public Criteria andUpdateVersionIsNotNull () {
		addCriterion("update_version is not null");
		return (Criteria) this;
	}

	public Criteria andUpdateVersionEqualTo (java.lang.String value){
		addCriterion("update_version =", value, "update_version");
		return (Criteria) this;
	}

	public Criteria andUpdateVersionNotEqualTo (java.lang.String value){
		addCriterion("update_version <>", value, "update_version");
		return (Criteria) this;
	}

	public Criteria andUpdateVersionGreaterThan (java.lang.String value){
		addCriterion("update_version >", value, "update_version");
		return (Criteria) this;
	}

	public Criteria andUpdateVersionGreaterThanOrEqualTo (java.lang.String value){
		addCriterion("update_version >=", value, "update_version");
		return (Criteria) this;
	}

	public Criteria andUpdateVersionLessThan (java.lang.String value){
		addCriterion("update_version <", value, "update_version");
		return (Criteria) this;
	}

	public Criteria andUpdateVersionLessThanOrEqualTo (java.lang.String value){
		addCriterion("update_version <=", value, "update_version");
		return (Criteria) this;
	}

	public Criteria andUpdateVersionIn (List < java.lang.String > values) {

		addCriterion("update_version in", values, "update_version");
		return (Criteria) this;
	}

	public Criteria andUpdateVersionNotIn (List < java.lang.String > values) {
		addCriterion("id not in", values, "update_version");
		return (Criteria) this;
	}

	public Criteria andUpdateVersionBetween (java.lang.String value1, java.lang.String value2){
		addCriterion("update_version between", value1, value2, "update_version");
		return (Criteria) this;
	}

	public Criteria andUpdateVersionNotBetween (java.lang.String value1, java.lang.String value2){
		addCriterion("update_version not between", value1, value2, "update_version");
		return (Criteria) this;
	}

	public Criteria andUpdateVersionLike(java.lang.String value) {
		addCriterion("update_version like", value, "update_version");
		return (Criteria) this;
	}

	public Criteria andUpdateVersionNotLike(java.lang.String value) {
		addCriterion("update_version not like", value, "update_version");
		return (Criteria) this;
	}
	public Criteria andGmtCreateIsNull () {
		addCriterion("gmt_create is null");
		return (Criteria) this;
	}

	public Criteria andGmtCreateIsNotNull () {
		addCriterion("gmt_create is not null");
		return (Criteria) this;
	}

	public Criteria andGmtCreateEqualTo (java.util.Date value){
		addCriterion("gmt_create =", value, "gmt_create");
		return (Criteria) this;
	}

	public Criteria andGmtCreateNotEqualTo (java.util.Date value){
		addCriterion("gmt_create <>", value, "gmt_create");
		return (Criteria) this;
	}

	public Criteria andGmtCreateGreaterThan (java.util.Date value){
		addCriterion("gmt_create >", value, "gmt_create");
		return (Criteria) this;
	}

	public Criteria andGmtCreateGreaterThanOrEqualTo (java.util.Date value){
		addCriterion("gmt_create >=", value, "gmt_create");
		return (Criteria) this;
	}

	public Criteria andGmtCreateLessThan (java.util.Date value){
		addCriterion("gmt_create <", value, "gmt_create");
		return (Criteria) this;
	}

	public Criteria andGmtCreateLessThanOrEqualTo (java.util.Date value){
		addCriterion("gmt_create <=", value, "gmt_create");
		return (Criteria) this;
	}

	public Criteria andGmtCreateIn (List < java.util.Date > values) {

		addCriterion("gmt_create in", values, "gmt_create");
		return (Criteria) this;
	}

	public Criteria andGmtCreateNotIn (List < java.util.Date > values) {
		addCriterion("id not in", values, "gmt_create");
		return (Criteria) this;
	}

	public Criteria andGmtCreateBetween (java.util.Date value1, java.util.Date value2){
		addCriterion("gmt_create between", value1, value2, "gmt_create");
		return (Criteria) this;
	}

	public Criteria andGmtCreateNotBetween (java.util.Date value1, java.util.Date value2){
		addCriterion("gmt_create not between", value1, value2, "gmt_create");
		return (Criteria) this;
	}

	public Criteria andGmtModifiedIsNull () {
		addCriterion("gmt_modified is null");
		return (Criteria) this;
	}

	public Criteria andGmtModifiedIsNotNull () {
		addCriterion("gmt_modified is not null");
		return (Criteria) this;
	}

	public Criteria andGmtModifiedEqualTo (java.util.Date value){
		addCriterion("gmt_modified =", value, "gmt_modified");
		return (Criteria) this;
	}

	public Criteria andGmtModifiedNotEqualTo (java.util.Date value){
		addCriterion("gmt_modified <>", value, "gmt_modified");
		return (Criteria) this;
	}

	public Criteria andGmtModifiedGreaterThan (java.util.Date value){
		addCriterion("gmt_modified >", value, "gmt_modified");
		return (Criteria) this;
	}

	public Criteria andGmtModifiedGreaterThanOrEqualTo (java.util.Date value){
		addCriterion("gmt_modified >=", value, "gmt_modified");
		return (Criteria) this;
	}

	public Criteria andGmtModifiedLessThan (java.util.Date value){
		addCriterion("gmt_modified <", value, "gmt_modified");
		return (Criteria) this;
	}

	public Criteria andGmtModifiedLessThanOrEqualTo (java.util.Date value){
		addCriterion("gmt_modified <=", value, "gmt_modified");
		return (Criteria) this;
	}

	public Criteria andGmtModifiedIn (List < java.util.Date > values) {

		addCriterion("gmt_modified in", values, "gmt_modified");
		return (Criteria) this;
	}

	public Criteria andGmtModifiedNotIn (List < java.util.Date > values) {
		addCriterion("id not in", values, "gmt_modified");
		return (Criteria) this;
	}

	public Criteria andGmtModifiedBetween (java.util.Date value1, java.util.Date value2){
		addCriterion("gmt_modified between", value1, value2, "gmt_modified");
		return (Criteria) this;
	}

	public Criteria andGmtModifiedNotBetween (java.util.Date value1, java.util.Date value2){
		addCriterion("gmt_modified not between", value1, value2, "gmt_modified");
		return (Criteria) this;
	}

	public Criteria andIsDeletedIsNull () {
		addCriterion("is_deleted is null");
		return (Criteria) this;
	}

	public Criteria andIsDeletedIsNotNull () {
		addCriterion("is_deleted is not null");
		return (Criteria) this;
	}

	public Criteria andIsDeletedEqualTo (java.lang.Integer value){
		addCriterion("is_deleted =", value, "is_deleted");
		return (Criteria) this;
	}

	public Criteria andIsDeletedNotEqualTo (java.lang.Integer value){
		addCriterion("is_deleted <>", value, "is_deleted");
		return (Criteria) this;
	}

	public Criteria andIsDeletedGreaterThan (java.lang.Integer value){
		addCriterion("is_deleted >", value, "is_deleted");
		return (Criteria) this;
	}

	public Criteria andIsDeletedGreaterThanOrEqualTo (java.lang.Integer value){
		addCriterion("is_deleted >=", value, "is_deleted");
		return (Criteria) this;
	}

	public Criteria andIsDeletedLessThan (java.lang.Integer value){
		addCriterion("is_deleted <", value, "is_deleted");
		return (Criteria) this;
	}

	public Criteria andIsDeletedLessThanOrEqualTo (java.lang.Integer value){
		addCriterion("is_deleted <=", value, "is_deleted");
		return (Criteria) this;
	}

	public Criteria andIsDeletedIn (List < java.lang.Integer > values) {

		addCriterion("is_deleted in", values, "is_deleted");
		return (Criteria) this;
	}

	public Criteria andIsDeletedNotIn (List < java.lang.Integer > values) {
		addCriterion("id not in", values, "is_deleted");
		return (Criteria) this;
	}

	public Criteria andIsDeletedBetween (java.lang.Integer value1, java.lang.Integer value2){
		addCriterion("is_deleted between", value1, value2, "is_deleted");
		return (Criteria) this;
	}

	public Criteria andIsDeletedNotBetween (java.lang.Integer value1, java.lang.Integer value2){
		addCriterion("is_deleted not between", value1, value2, "is_deleted");
		return (Criteria) this;
	}


	}

	public static class Criteria extends GeneratedCriteria {

	protected Criteria() {
		super();
		}
	}
	public static class Criterion {
	private String condition;
	private Object value;
	private Object secondValue;
	private boolean noValue;
	private boolean singleValue;
	private boolean betweenValue;
	private boolean listValue;
	private String typeHandler;
	public String getCondition() {

		return condition;
	}

	public Object getValue() {
		return value;
	}

	public Object getSecondValue() {
		return secondValue;
	}

	public boolean isNoValue() {
		return noValue;
	}

	public boolean isSingleValue() {
		return singleValue;
	}

	public boolean isBetweenValue() {
		return betweenValue;
	}

	public boolean isListValue() {
		return listValue;
	}

	public String getTypeHandler() {
		return typeHandler;
	}

	protected Criterion(String condition) {
		super();
		this.condition = condition;
		this.typeHandler = null;
		this.noValue = true;
	}

	protected Criterion(String condition, Object value, String typeHandler) {
		super();
		this.condition = condition;
		this.value = value;
		this.typeHandler = typeHandler;
		if(value instanceof List<?>) {
			this.listValue = true;
		} else {
			this.singleValue = true;
		}
	}

	protected Criterion(String condition, Object value) {
		this(condition, value, null);
	}

	protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
		super();
		this.condition = condition;
		this.value = value;
		this.secondValue = secondValue;
		this.typeHandler = typeHandler;
		this.betweenValue = true;
	}

	protected Criterion(String condition, Object value, Object secondValue) {
		this(condition, value, secondValue, null);
			}
		}
	}
